/*
磅单模板

*/
import httpRequest from '@/utils/httpRequest'
// 获取磅单模板列表
export function getList (data) {
  return httpRequest({
    url: '/basis/weightTemplate/list',
    method: 'get',
    params: data
  })
}

// 新增磅单模板或修改磅单模板
export function edit (data) {
  return httpRequest({
    url: '/basis/weightTemplate/save',
    method: 'post',
    data: data,
    headers: {'Content-Type': 'application/json; charset=utf-8'}
  })
}
// 删除磅单模板
export function delRegiste (data) {
  return httpRequest({
    url: '/basis/weightTemplate/delete',
    method: 'post',
    data: data
  })
}
// 修改状态
export function modifyState (data) {
  return httpRequest({
    url: '/basis/weightTemplate/modifyState',
    method: 'post',
    data: data,
    headers: {'Content-Type': 'application/json; charset=utf-8'}
  })
}
// 根据Id查询信息
export function queryById (data) {
    return httpRequest({
        url: '/basis/weightTemplate/queryById',
        method: 'get',
        params: data
    })
}
